package org.redis.cluster.loadbalance.routing;

import org.redis.cluster.RedisCluster;

public class RoutingHelper {

	/**
	 * @param redisCluster
	 * @return
	 */
	public static boolean getEnable(RedisCluster redisCluster) {
		return redisCluster.getConfigManager().getSystemConfig().get(RoutingConstants.ENABLE_CONFIG).getValue(Boolean.class, RoutingConstants.DEFAULT_ENABLE);
	}
}